Skip to content

[codex] Fix short scope marker boundaries#7

Merged
Conalh merged 1 commit into
mainfrom
codey/scope-marker-boundaries
May 21, 2026
Merged

[codex] Fix short scope marker boundaries#7
Conalh merged 1 commit into
mainfrom
codey/scope-marker-boundaries

Conversation

@Conalh
Copy link
Copy Markdown
Owner

@Conalh Conalh commented May 21, 2026

Summary

Fixes a scope inference bug found while refreshing the public demo PR: short markers such as ci were matched as substrings inside ordinary words like spacing, which incorrectly added workflow YAML to the inferred task scope.

Changes:

  • Adds a regression test for CSS spacing scope context.
  • Requires token boundaries for short scope markers while preserving existing longer marker behavior.
  • Bumps package/docs to 0.2.1 for a patch release after merge.

Validation

  • npm run build
  • npm test (23/23 passing)
  • git diff --check
  • Manual scope check: styles/header.css context no longer marks .github/workflows/demo-scope-creep.yml in scope.

@Conalh Conalh marked this pull request as ready for review May 21, 2026 23:03
@Conalh Conalh merged commit 6e98981 into main May 21, 2026
2 checks passed
@Conalh Conalh deleted the codey/scope-marker-boundaries branch May 21, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant